//
//  UILabel+UW.m
//  Urban Words
//
//  Created by Tim Brandin on 2011-11-28.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import "UILabel+UW.h"

@implementation UILabel (UW)

- (void)setSpecialText:(NSString *)text 
{
    /*self.shadowColor = [UIColor colorWithRed:0.5 green:0.5 blue:0.5 alpha:0.85];
    self.shadowOffset = CGSizeMake(0.5, 0.5); */
    self.backgroundColor = [UIColor clearColor];
//    self.font = [UIFont fontWithName:@"HelveticaNeueLTPro-BlkCn" size:24];
    self.font = [UIFont boldSystemFontOfSize:20];
    self.textAlignment = UITextAlignmentLeft;
    //self.textColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"HeaderFontPattern"]];
    self.textColor = [UIColor whiteColor];
    
    
    self.numberOfLines = 1;
    self.lineBreakMode = UILineBreakModeTailTruncation;
    self.minimumFontSize = 20.0;
    self.adjustsFontSizeToFitWidth = YES;

    self.text = NSLocalizedString(text, text);
    
}

@end
